﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Register.Model;
using Register.IDAL;
using Register.DALFactory;


/// <summary>
/// FileName: RegisterviewBLL.cs
/// CLRVersion: 4.0.30319.1
/// Author: WBX
/// Corporation: 
/// Description: 
/// DateTime: 2012-7-12 23:21:43
/// </summary>

namespace Register.BLL
{
   public  class RegisterviewBLL
    {
       private static String typeNameKey = "IRegisterviewDALKey";
     public static   List<Registerview> GetList(string strWhere, int pageIndex, int size)
        {
            IRegisterviewDAL iRegisterviewDAL = DALFactory<IRegisterviewDAL>.Create(typeNameKey);
             return  iRegisterviewDAL.GetList(strWhere, pageIndex, size);
        }
       public static int GetListCount(string where)
        {   
           IRegisterviewDAL iRegisterviewDAL = DALFactory<IRegisterviewDAL>.Create(typeNameKey);
        return iRegisterviewDAL.GetListCount(where);
       }
      
    }
}
